#!/bin/bash

function run_delayts {
ts=$1
for delay in $2; do
  java -Xmx2000m -Djava.library.path=./lib/SIGAR -jar PerformanceTestApplication.jar $ts $delay
done
}

a=(1)
run_delayts "JDBCDriverColumnDelayTest" "${a[*]}"
a=(8)
run_delayts "JDBCDriverLineDelayTest" "${a[*]}"
